home *** CD-ROM | disk | FTP | other *** search
- on(press){
- _root.allliveslost = false;
- _root.qual = "Full";
- _root.pshieldup = false;
- _root.pfireinprog = false;
- _root.i = 0;
- _root.e = 0;
- _root.t = 0;
- _root.pdir = "Right";
- _root.rounds = 12;
- _root.clips = "--";
- _root.fallspeed = 10;
- _root.jumpspeed = 25;
- _root.isjumping = false;
- _root.inair = true;
- _root.hitobject = false;
- _root.justonobject = false;
- so = SharedObject.getLocal("savefarm");
- if(so.data.pspeed == null)
- {
- return undefined;
- }
- _root.pspeed = so.data.pspeed;
- _root.ptclips = so.data.ptclips;
- _root.healthpoints = so.data.healthpoints;
- _root.healthsub = so.data.healthsub;
- _root.armorpoints = so.data.armorpoints;
- _root.armorsub = so.data.armorsub;
- _root.money = so.data.money;
- _root.score = so.data.score;
- _root.level = so.data.level;
- _root.stage = so.data.stage;
- _root.glockinccap = so.data.glockinccap;
- _root.glockincdam = so.data.glockincdam;
- _root.thompsoninccap = so.data.thompsoninccap;
- _root.thompincdam = so.data.thompincdam;
- _root.shotguninccap = so.data.shotguninccap;
- _root.shotgunincdam = so.data.shotgunincdam;
- _root.deagleinccap = so.data.deagleinccap;
- _root.deagleincdam = so.data.deagleincdam;
- _root.ak47inccap = so.data.ak47inccap;
- _root.ak47incdam = so.data.ak47incdam;
- _root.thompsonisowned = so.data.thompsonisowned;
- _root.shotgunisowned = so.data.shotgunisowned;
- _root.deagleisowned = so.data.deagleisowned;
- _root.AK47isowned = so.data.AK47isowned;
- _root.tdeaths = so.data.tdeaths;
- _root.bestscore = so.data.bestscore;
- _root.lives = so.data.lives;
- _root.hatpos = so.data.hatpos;
- _root.crosshairtype = so.data.crosshairtype;
- _root.stagegoto = (_root.level * 3 + 1) * _root.stage;
- _root.GlockChange();
- _root.player.prightarm1.pgun.gotoAndStop(_root.pgunactive);
- _root.player.prightarm2.pgun.gotoAndStop(_root.pgunactive);
- _root.glockrounds = 12 + _root.glockinccap;
- _root.thompsonrounds = 30 + _root.thompsoninccap;
- _root.shotgunrounds = 7 + _root.shotguninccap;
- _root.deaglerounds = 7 + _root.deagleinccap;
- _root.ak47rounds = 35 + _root.ak47inccap;
- _root.sndblip.start();
- if(_root.stage == 1 and _root.level == 1)
- {
- gotoAndStop("1-1 Start");
- }
- if(_root.stage == 1 and _root.level == 2)
- {
- gotoAndStop("2-1 Start");
- }
- if(_root.stage == 1 and _root.level == 3)
- {
- gotoAndStop("3-1 Start");
- }
- if(_root.stage == 2 and _root.level == 1)
- {
- gotoAndStop("1-2 Start");
- }
- if(_root.stage == 2 and _root.level == 2)
- {
- gotoAndStop("2-2 Start");
- }
- if(_root.stage == 2 and _root.level == 3)
- {
- gotoAndStop("3-2 Start");
- }
- if(_root.stage == 3 and _root.level == 1)
- {
- gotoAndStop("1-3 Start");
- }
- if(_root.stage == 3 and _root.level == 2)
- {
- gotoAndStop("2-3 Start");
- }
- if(_root.stage == 3 and _root.level == 3)
- {
- gotoAndStop("3-3 Start");
- }
- if(_root.stage == 4 and _root.level == 1)
- {
- gotoAndStop("1-4 Start");
- }
- if(_root.stage == 4 and _root.level == 2)
- {
- gotoAndStop("2-4 Start");
- }
- if(_root.stage == 4 and _root.level == 3)
- {
- gotoAndStop("3-4 Start");
- }
- }
-